﻿using Microsoft.AspNetCore.Builder;

namespace Luka;

/// <summary>
/// 加密
/// </summary>
[NotScanned]
public static class EncryptSetup
{
    /// <summary>
    /// 加密中间件
    /// </summary>
    /// <returns></returns>
    public static IApplicationBuilder UseEnrypt(this IApplicationBuilder app)
    {
        return app.UseMiddleware<EncryptionMiddleware>();
    }
}